//
//  WPIndivalInfoNVC.m
//  wobingwoyi
//
//  Created by WGP on 16/8/3.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import "WPIndivalInfoNVC.h"


@interface WPIndivalInfoNVC ()



@end

@implementation WPIndivalInfoNVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationBar.barTintColor = [UIColor whiteColor];
    
}

//- (void)panGestureAction:(UIScreenEdgePanGestureRecognizer *)panGesture {
//    CGPoint translation = [panGesture translationInView:panGesture.view];
//    CGFloat percent = translation.x / panGesture.view.bounds.size.width / 3;
//    //    NSLog(@"percent = %f", percent);
//    switch (panGesture.state) {
//        case UIGestureRecognizerStateBegan: {
//            self.interactionController = [UIPercentDrivenInteractiveTransition new];
//            [self dismissViewControllerAnimated:YES completion:nil];
//            break;
//        }
//        case UIGestureRecognizerStateChanged:{
//            [self.interactionController updateInteractiveTransition:percent];
//            break;
//        }
//        case UIGestureRecognizerStateCancelled:
//        case UIGestureRecognizerStateEnded:{
//            if (percent > 0.17) {
//                [self.interactionController finishInteractiveTransition];
//            } else {
//                [self.interactionController cancelInteractiveTransition];
//            }
//            self.interactionController = nil;
//            break;
//        }
//        default:
//            break;
//    }
//}
//
//- (id<UIViewControllerAnimatedTransitioning>)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source {
//    return [ZNBPresentAnimator new];
//}
//
//- (id<UIViewControllerAnimatedTransitioning>)animationControllerForDismissedController:(UIViewController *)dismissed {
//    return [ZNBDismissAnimator new];
//}
//
//- (id<UIViewControllerInteractiveTransitioning>)interactionControllerForPresentation:(id<UIViewControllerAnimatedTransitioning>)animator {
//    return nil;
//}
//
//- (id<UIViewControllerInteractiveTransitioning>)interactionControllerForDismissal:(id<UIViewControllerAnimatedTransitioning>)animator {
//    return self.interactionController;
//}
//
//- (UIStatusBarStyle)preferredStatusBarStyle {
//    return UIStatusBarStyleDefault;
//}
//

@end
